<html>
<head><meta charset="utf-8"><title>x.py --test-args · t-compiler · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/index.html">t-compiler</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/x.2Epy.20--test-args.html">x.py --test-args</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="146866823"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/x.py%20--test-args/near/146866823" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> RalfJ <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/x.2Epy.20--test-args.html#146866823">(Nov 06 2018 at 14:13)</a>:</h4>
<p><code>--test-args</code> says that it supports arguments (plural), but <code>--test-args foo bar</code> does not actually work. how are we expected to use this with multiple arguments?</p>



<a name="146866869"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/x.py%20--test-args/near/146866869" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> RalfJ <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/x.2Epy.20--test-args.html#146866869">(Nov 06 2018 at 14:14)</a>:</h4>
<p>trying <code>--test-args "foo bar"</code> now...</p>



<a name="146866872"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/x.py%20--test-args/near/146866872" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> davidtwco <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/x.2Epy.20--test-args.html#146866872">(Nov 06 2018 at 14:14)</a>:</h4>
<p>I think you do <code>--test-args foo --test-args bar</code>.</p>



<a name="146866874"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/x.py%20--test-args/near/146866874" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> davidtwco <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/x.2Epy.20--test-args.html#146866874">(Nov 06 2018 at 14:14)</a>:</h4>
<p>But not 100% sure.</p>



<a name="146866881"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/x.py%20--test-args/near/146866881" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> RalfJ <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/x.2Epy.20--test-args.html#146866881">(Nov 06 2018 at 14:14)</a>:</h4>
<p>but, uh, then the flag should be called <code>--test-arg</code></p>



<a name="146866883"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/x.py%20--test-args/near/146866883" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> RalfJ <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/x.2Epy.20--test-args.html#146866883">(Nov 06 2018 at 14:14)</a>:</h4>
<p>because it only gives a single argument</p>



<a name="146866906"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/x.py%20--test-args/near/146866906" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> davidtwco <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/x.2Epy.20--test-args.html#146866906">(Nov 06 2018 at 14:15)</a>:</h4>
<p><span class="emoji emoji-1f937" title="shrug">:shrug:</span> I'm not sure if it is that, but that's what came to mind when I read your message.</p>



<a name="146866919"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/x.py%20--test-args/near/146866919" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> oli <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/x.2Epy.20--test-args.html#146866919">(Nov 06 2018 at 14:15)</a>:</h4>
<p>maybe comma separated works?</p>



<a name="146868508"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/x.py%20--test-args/near/146868508" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> RalfJ <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/x.2Epy.20--test-args.html#146868508">(Nov 06 2018 at 14:39)</a>:</h4>
<p>none of them seem to work</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>